Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
12 views

Hello,

I have a RadGrid embedded in a RadTabStrip. This is defined in a UserControl with a RadAjaxManagerProxy. It displays content from a DB server. I have a GridButtonColumn that is defined below. Everything works fine except that when I try to delete a row by clicking on the icon it won't work initially. A second click results in a callback to the server's RgAttachments_ItemCommand appropriately. This behaviour happens consistently. I took a look at the generated code and noticed a difference in the button's clientside onclick handler

 

This following generated javascript works

if(!$find('ctl00_MainContent_ctlRqstAttachments_RgAttachmentRevision').confirm('Are you sure you wish to delete this file attachment?', event, 'ctl00_MainContent_ctlRqstAttachments_RgAttachmentRevision', 'Delete'))return false;__doPostBack('ctl00$MainContent$ctlRqstAttachments$RgAttachmentRevision$ctl00$ctl14$ctl00','')

This generated code doesn't

if(!$find('ctl00_MainContent_ctlRqstAttachments_RgAttachmentRevision').confirm('Are you sure you wish to delete this file attachment?', event, 'ctl00_MainContent_ctlRqstAttachments_RgAttachmentRevision', 'Delete'))return false;__doPostBack('ctl00$MainContent$ctlRqstAttachments$RgAttachmentRevision$ctl00$ctl12$ctl01','')

 

The column in question

                            <telerik:GridButtonColumn HeaderText="Delete" ConfirmText="Are you sure you wish to delete this file attachment?" ConfirmDialogType="RadWindow" ButtonCssClass="btn btn-outline-danger btn-sm rounded" ConfirmTitle="Delete" ButtonType="FontIconButton" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn" ItemStyle-ForeColor="Red">
                                <ItemStyle HorizontalAlign="Center"></ItemStyle>
                            </telerik:GridButtonColumn>

 

Any help to resolve this is greatly appreciated

Gavin
Top achievements
Rank 1
Iron
 answered on 28 Apr 2025
1 answer
10 views

I've set

<telerik:GridTemplateColumn ... ShowFilterIcon="True">

but no icon appears when I apply a filter. Conversely, a sort icon does appear when I apply a sort.

Sorting is achieved by clicking on the column header, but for filtering, I am using a header context menu. Is that the source of the problem?

  • If so, how can I have the filter icon show in the column header when filtering is applied via a header context menu?
  • If not, why else might the filter icon now display when filtering is applied?
Vasko
Telerik team
 answered on 23 Apr 2025
1 answer
11 views

I have created an application within Visual Studio 2019 and using c#.

The project has a page which uses a telerik RadGrid. It is populated on page load and I have filtering enabled on 3 of the columns. I have set the aspx for the columns to have AutoPostBackOnFilter="true" AllowFiltering="true"  ShowFilterIcon="true"

The runs perfectly when ran in development environment but when I publish my application to the web server the filter does not work at all. Nothing happens if I tab out of the filter text box or if I select anything from the filter icon.

Can anyone advise what the issue could be please? I am using Telerik.web.ui version 2024.1.131.45

Thanks

RR

Vasko
Telerik team
 answered on 18 Apr 2025
2 answers
20 views

Yesterday, April 1st, around 2:35PM Eastern, several of my web forms became extremely slow/non-responsive for a period of about 5 minutes or so. This also happened on March 14th. Since it happened so quickly, I could only do limited troubleshooting, but it seems like any of our forms that has a Radgrid became slow. One of our forms has been in use since last winter and has not been changed since last last year. Only a few hundred records exist in that database.

I tried to open the web forms in Edge, instead of Chrome, and sometimes the form would initially open. When I closed out and went back in, the form would become non-responsive. I have menus on my forms and those always loaded, but the grid did not. And then after a few minutes, everything started to work fine again.

We checked IIS and the memory seemed fine at the time of the slowness. We checked the error logs at that time of failure and did not see anything either. It was a bit tough to troubleshoot as it was relatively brief both times it happened.

Has anyone else complained about this? Maybe a recent patch could be behind this?  I'm not sure what to think/try.

Rumen
Telerik team
 answered on 08 Apr 2025
1 answer
15 views

I am using Visual Studio 2019 c#

I have a telerik radgrid which has a column named StageStDate which is in string format but shows a date in format dd-mmm-yy. This column has filtering enabled with a date picker.

I have a hidden column named StageStartDate which is a replicate of StageStDate but is a date column and in format DD/MM/YYYY.

As StageStDate wont filter correctly as its a string format, when user select a date for this column from filter I would like the filtering to apply to the StageStartDate column, how can I achieve this please?

On ItemCommand I have changed the Pair Second to StageStartDate instead of StageStDate

 

but for some reason this makes the filterExpression blank.

Rumen
Telerik team
 answered on 31 Mar 2025
1 answer
27 views

I have encountered a niche issue I'm trying to solve. I have a grid with EnableViewState set to false. Based on this, the control state within the grid is used to manage things like sort expressions.

My issue is simply this:

  1. Page load
  2. Programmatically add columns to a grid
  3. On the UI, sort on a column, and its name for example is 'My Column', this becomes 'My Column ASC'
  4. On our app are objects in which its name we can add as a column to the same grid
  5. Somewhere in our app I rename the object's name to something else like 'My New Column' - note the sort expression is still 'My Column ASC'
  6. Back to the grid, I cause a postback (e.g., rebind) or reorder a column, or sort, etc.
  7. The columns need to be re-added (I've covered a case to exclude the column with the old name)
  8. Before columns are added again, I manually clear sort expressions on the grid
  9. While debugging, I found that in the ColumnCreated event, the grid sort expressions restore to what they were before the postback, and I see 'My Column ASC' - I find that whenever adding a SortExpression referencing a non-existing column, the program always breaks

 

I debugged against a few events of the grid and found that in ColumnCreated (after NeedDataSource) the grid restored its sort expressions from what I presume is the control state. So, this was between NeedDataSource and ColumnCreated.

 

When exactly did the sort expressions get restored, and is there an event I can listen to?

Vasko
Telerik team
 answered on 17 Mar 2025
1 answer
25 views

Hello

I have several RadGrids with custom css applied to the columns.  Everything works as intended.  However, when a column is sorted, telerik applied the .rgSorted css and this completely defeats the purpose of the gird (in our application).  What is the procedure to DISABLE or DELETE the .rgSorted css, as this particular class will never be needed or used. 

Note: any css class definition with !important cannot be used in this context.

Thank you

Rumen
Telerik team
 answered on 13 Mar 2025
2 answers
34 views

I'm experiencing an issue where the page becomes unresponsive for a long time whenever any Telerik control (such as refresh or loader) is triggered. The page keeps loading indefinitely, causing significant delays, and eventually, the page becomes unresponsive.

Additionally, the following error appears in the browser console:

Uncaught Sys.WebForms.PageRequestManagerTimeoutException: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
at Error.create (https://test.plc.com/GS/Telerik.Web.UI.WebResource.axd?...:6:2736)
at Sys.WebForms.PageRequestManager._createPageRequestManagerTimeoutError (https://wpinhouse.knpc.com/GPCS/Telerik.Web.UI.WebResource.axd?...:15:11219)
at Sys.WebForms.PageRequestManager._onFormSubmitCompleted (https://wpinhouse.knpc.com/GPCS/Telerik.Web.UI.WebResource.axd?...:15:11219)

The issue arises when interacting with Telerik controls that trigger a page request, causing the page to hang and ultimately become unresponsive.

 

issue started from Feb 17 2025

 

 

Sanju
Top achievements
Rank 1
Iron
 answered on 12 Mar 2025
1 answer
29 views
I have been having this issue for a few days.  When I add a caption to the MasterTableView, it is always being displayed at the bottom of the grid, never at the top.  Is this normal, and can I change this somehow?  
Rumen
Telerik team
 answered on 10 Mar 2025
10 answers
1.2K+ views
I am using the latest RadControls for ASP.NET in MOSS 2007 and am getting a blank page with a 403 FORBIDDEN message.

The RadGrid is in a UserControl consumed by the page and has Ajax enabled.

  • I have full trust enabled.
  • I have both RadAjax.Net2 and RadGrid.Net2 added as SafeControls (as is my UserControl).
  • The folders (hosting the dlls, user control and RadControls files) all have read & execute access enabled for the Thread Account.
  • The site uses forms based authentication.
I get the following event message:

Event code: 4011
Event message: An unhandled access exception has occurred.
Event time: 7/14/2008 1:06:34 PM
Event time (UTC): 7/14/2008 6:06:34 PM
Event ID: cf3b8e1113e8480987b80b3a2b91176c
Event sequence: 3
Event occurrence: 1
Event detail code: 0
 
Application information:
    Application domain: /LM/W3SVC/1939723128/Root-7-128605323920557239
    Trust level: Full
    Application Virtual Path: /
    Application Path: C:\Inetpub\wwwroot\wss\VirtualDirectories\<snipped>\
    Machine name: <snipped>
 
Process information:
    Process ID: 1808
    Process name: w3wp.exe
    Account name: <snipped>
 
Request information:
    Request URL: http://<snipped>/custpages/rcereturnexpress.aspx
    Request path: /custpages/rcereturnexpress.aspx
    User host address: <snipped>
    User: <snipped>
    Is authenticated: True
    Authentication Type: Forms
    Thread account name: <snipped>


Any help is greatly appreciated.
jiyan
Top achievements
Rank 1
Iron
 answered on 18 Feb 2025
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Krasimir
Top achievements
Rank 3
Iron
Iron
Iron
Shawn
Top achievements
Rank 1
Iron
Javier
Top achievements
Rank 1
Iron
Jean-François
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Krasimir
Top achievements
Rank 3
Iron
Iron
Iron
Shawn
Top achievements
Rank 1
Iron
Javier
Top achievements
Rank 1
Iron
Jean-François
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?